package tx.core;

/**
 * An O Tetraminoe. It doesn't rotate, since it would make not difference. 
 * @author Guilherme Mauro Germoglio Barbosa - germoglio@gmail.com
 */
public class OTetraminoe extends Tetraminoe {

	/**
	 * The relative coordinates for rotation of this tetraminoe.
	 */
	private static final int[][][] O_RELATIVE_COORDINATES = {   
															{ 
															   {0, 0},
															   {0, 1},
															   {1, 0},
															   {1, 1}
															}
															
														};
	
	/**
	 * The rotation offsets, in order to correct positions after the rotation.
	 */
	private static final int[][] O_ROTATION_OFFSETS = {};
	
	/**
	 * Creates a O Tetraminoe.
	 * @param color Its color.
	 */
	public OTetraminoe(int color) {
		super(color, O_RELATIVE_COORDINATES, O_ROTATION_OFFSETS);
	}
	
	/* (non-Javadoc)
	 * @see tx.core.Tetraminoe#rotate()
	 */
	public void rotate() {
		// no rotation!
	}

}
